FlexReport for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.util Namespace / MathUtil Class / gcd Method / gcd(Int32[]) Method
Array containing the numbers.

In This Topic
    gcd(Int32[]) Method
    In This Topic
    Method that calculates the Greatest Common Divisor (GCD) of several positive integer numbers.
    Syntax
    'Declaration
     
    Public Overloads Shared Function gcd( _
       ByVal x() As Integer _
    ) As Integer
    public static int gcd( 
       int[] x
    )

    Parameters

    x
    Array containing the numbers.
    See Also